import { IUserState } from "./types"

function state(): IUserState {
  return {
    userInfo: {
      token: "",
      userName: "",
      avatar: "",
      nickName: "",
      createdAt: "",
      updatedAt: "",
      id: 0,
      role: "",
      menus: []
    },
    updateUserInfo: {
      oldPassword: "",
      newPassword: "",
      nickName: ""
    },
    name: ""
  }
}

export { state }
